<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
      function getArea(r){
        return Math.PI*r**r;
      }
      var result=getArea(3);
            console.log(result);

      function getLong(r){
       return 2*Math.PI*r;
      }
      var result2=getLong(3);
            console.log(result2);


    </script>
</body>
</html>